<template>
<transition enter-active-class="fadeIn">
  <div class="award-person">
    <h1>中奖名单</h1>
    <div class="award-person-content">
      <div class="award-person-content-item">
        <div class="award-person-item" v-for="item in 10" :key="item">
            <div class="img-box">
              <img src="http://wx.qlogo.cn/mmopen/vi_32/iavhNQNYg0tY5DFibJNnOmsWoT1MYSZYPia52DvjWeUicdvJ5r79rSjGGpIVVicqGkWa5ib6FaXVe6YxxnIKsHXCxXKQ/132" alt="">
            </div>
            <div class="award-person-text">
              <div class="nick-name">123</div>
              <div class="talk">新年快乐新年快乐新年快乐新年</div>
            </div>
        </div>
      </div>
      <div class="award-person-content-item">
        <div class="award-person-item" v-for="item in 10" :key="item">
            <div class="img-box">
              <img src="http://wx.qlogo.cn/mmopen/vi_32/iavhNQNYg0tY5DFibJNnOmsWoT1MYSZYPia52DvjWeUicdvJ5r79rSjGGpIVVicqGkWa5ib6FaXVe6YxxnIKsHXCxXKQ/132" alt="">
            </div>
            <div class="award-person-text">
              <div class="nick-name">123</div>
              <div class="talk">新年快乐新年快乐新年快乐新年</div>
            </div>
        </div>
      </div>
      <div class="award-person-content-item">
        <div class="award-person-item" v-for="item in 10" :key="item">
            <div class="img-box">
              <img src="http://wx.qlogo.cn/mmopen/vi_32/iavhNQNYg0tY5DFibJNnOmsWoT1MYSZYPia52DvjWeUicdvJ5r79rSjGGpIVVicqGkWa5ib6FaXVe6YxxnIKsHXCxXKQ/132" alt="">
            </div>
            <div class="award-person-text">
              <div class="nick-name">123</div>
              <div class="talk">新年快乐新年快乐新年快乐新年</div>
            </div>
        </div>
      </div>
    </div>
  </div>
</transition>
</template>

<script>
export default {
  name: 'AwardPerson',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scoped>
.award-person {
  h1 {
    text-align: center;
    color: #fff;
    font-size: 48px;
    margin-bottom: 18px;
  }
  .award-person-content {
    display: flex;
    justify-content: center;
    align-items: center;
    .award-person-content-item {
      flex: 1;
      text-align: center;
      .award-person-item {
        padding: 8px;
        .img-box {
          width: 80px;
          height: 80px;
          display: inline-block;
          vertical-align: middle;
          img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
          }
        }
        .award-person-text {
          display: inline-block;
          vertical-align: middle;
          color: #fff;
          .nick-name {
            text-align: left;
            font-size: 24px;
          }
          .talk {
            font-size: 32px;
          }
        }
      }
    }
  }
}
</style>
